YpmPopup\Popup D

Total Complexity 137
Dependencies 6
Dependents 16
Total lines 675
Lines of code 518
Logical lines of code 327
Comment lines 13
Methods 38
Properties 5

Methods 38

Method Rating Maintainability Complexity Lines of code
popupExtraDataRender()
C
29 28 122
getOptionValue()
A
48 15 31
getModulesDataArray()
A
45 9 42
getSubPopupObj()
S
53 7 21
customStyles()
S
48 5 33
getPopupTypes()
S
50 5 28
sanitizeValueByType()
S
56 5 21
getPopupIdTitleData()
S
54 5 20
changeDefaultOptionsByNames()
S
60 5 13
popupShortcodesInsidePopup()
S
59 5 13
create()
S
56 4 17
find()
S
58 4 14
getSavedData()
S
61 3 12
recursiveSanitizeTextField()
S
63 3 11
isPostPublished()
S
66 3 8
getDefaultDataByName()
S
65 3 9
findByIdAndType()
S
59 2 14
saveDispayConditionsSettings()
S
63 2 11
saveConditionConditionsSettings()
S
63 2 11
allowToLoad()
S
69 2 6
insertIntoSanitizedData()
S
72 2 5
boolToChecked()
S
79 2 3
isActive()
S
79 1 3
getCustomInsertedDataByPostId()
S
81 1 3
__construct()
S
91 1 2
getSiteLocale()
S
72 1 5
getConditionsSettings()
S
75 1 4
setPopupId()
S
81 1 3
save()
S
75 1 4
getSanitizedData()
S
82 1 3
setSanitizedData()
S
81 1 3
getContent()
S
82 1 3
setContent()
S
81 1 3
getOptions()
S
82 1 3
setOptions()
S
76 1 4
getPopupId()
S
82 1 3
getId()
S
81 1 3
getDisplaySettings()
S
75 1 4